/// <summary>
/// Constants of TinTucOnline.com.vn
/// </summary>
namespace DTN.Core
{
    public class Constants
    {
        #region DocumentStatus

        public class DocumentStatus
        {
            public const string No = "No";
            public const string Yes = "Yes";
        }

        #endregion

        #region Entities

        public class Entities
        {
            #region CommonEntity

            public class CommonEntity
            {
                public const string Created_At = "Created_At";
                public const string Created_By = "Created_By";
                public const string flag = "flag";
                public const string Last_Modified_At = "Last_Modified_At";
                public const string Last_Modified_By = "Last_Modified_By";
            }

            #endregion

            #region Comments

            public class Comments
            {
                public const string Name = "Comments";

                #region Nested type: FieldName

                public class FieldName
                {
                    public const string Address = "Address";
                    public const string Comment = "Comment";
                    public const string Email = "Email";
                    public const string FullName = "FullName";
                    public const string History = "History";
                    public const string ID = "ID";
                    public const string MessageID = "MessageID";
                    public const string PostDate = "PostDate";
                    public const string Status = "Status";
                }

                #endregion
            }

            #endregion

            #region News

            public class News
            {
                public const string Name = "News";

                #region Nested type: FieldName

                public class FieldName
                {
                    public const string CategoryAlias = "CategoryAlias";
                    public const string DateFromString = "DateFromString";
                    public const string DateFrom = "DateFrom";
                    public const string FirstIndexRecord = "FirstIndexRecord";
                    public const string LastIndexRecord = "LastIndexRecord";
                    public const string MessageID = "MessageID";
                    public const string DateToString = "DateToString";
                    public const string Keyword = "Keyword";
                    public const string DateTo = "DateTo";
                    public const string ExactWord = "ExactWord";
                    public const string HomePage = "HomePage";
                }

                #endregion
            }

            #endregion
        }

        #endregion

        #region ParameterName

        public class ParameterName
        {
            public const string CatAlias = "CatAlias";
            public const string DOC_ID = "DocId";
            public const string KEYWORD = "Keyword";
            public const string RSS = "rss";
            public const string MsgId = "MsgId";
            public const string Msg = "Msg";
            public const string PAGE = "Page";
            public const string VIEW_ID = "ViewId";
            public const string ACTION = "act";
            public const string VALIDCODE = "validCode";
        }

        #endregion

        #region Services

        public class Services
        {
            #region CommonActions

            public class CommonActions
            {
                public const string DELETE = "Delete";
                public const string LISTALL = "ListAll";
                public const string LOAD = "Load";
                public const string LOAD_ENCODE = "Load_Encode";
                public const string SAVE = "Save";
            }

            #endregion

            #region CommentsManager

            public class CommentsManager
            {
                public const string Name = "CommentsManager";

                #region Nested type: Actions

                public class Actions : CommonActions
                {
                }

                #endregion
            }

            #endregion

            #region NewsManager

            public class NewsManager
            {
                public const string Name = "NewsManager";

                #region Nested type: Actions

                public class Actions : CommonActions
                {
                    public const string GetNewsHighLight = "_GetNewsHighLight";
                    public const string GetNewsNewest = "_GetNewsNewest";
                    public const string GetNewsHot = "_GetNewsHot";
                    public const string GetTop10Views = "_GetTop10Views";
                    public const string GetMessagesHasTopCommentByDay = "_GetMessagesHasTopCommentByDay";
                    public const string GetNewRunImage = "_GetNewRunImage";
                    public const string GetSpeak = "_GetSpeak";
                    public const string GetNumber = "_GetNumber";
                    public const string GetVideo = "_GetVideo";
                    public const string GetTVchannel = "_GetTVchannel";
                    public const string GetTVplan = "_GetTVplan";
                    public const string GetTopNewsByCate = "_GetTopNewsByCate";
                    public const string GetTopNewsSpinByCate = "_GetTopNewsSpinByCate";
                    public const string GetRSSHome = "_GetRSSHome";
                    public const string GetRSSByCate = "_GetRSSByCate";
                    public const string GetNewsById = "_GetNewsById";
                    public const string GetNewsMoreByCateAndMessageId = "_GetNewsMoreByCateAndMessageId";
                    public const string GetFocusHome = "_GetFocusHome";
                    public const string GetFocusNewsByCategoryID = "_GetFocusNewsByCategoryID";
                    public const string GetTopCateByView = "_GetTopCateByView";
                    public const string GetTopCateByComment = "_GetTopCateByComment";
                    public const string GetEventsHome = "_GetEventsHome";
                    public const string GetEventsByCategory = "_GetEventsByCategory";
                }

                #endregion
            }

            #endregion
        }

        #endregion

        #region ConfigKey

        public class ConfigKey
        {
            public const string Captcha = "Captcha";
            public const string CaptchaKey = "CaptchaKey";
            public const string CaptchaSalt = "CaptchaSalt";
            public const string Currency = "Currency";
            public const string DisplayDateFormat = "DisplayDateFormat";
            public const string DisplayDateTimeFormat = "DisplayDateTimeFormat";
            public const string DisplayDecimalFormat = "DisplayDecimalFormat";
            public const string DisplayNumberFormat = "DisplayNumberFormat";
            public const string PageSize = "PageSize";
            public const string PageSearchSize = "PageSearchSize";
            public const string ImageDirectory = "ImageDirectory";
            public const string ImageTypeAllow = "ImageTypeAllow";
            public const string SMTPMailServer = "SMTPMailServer";
            public const string SMTPMailServerPort = "SMTPMailServerPort";
            public const string SMTPMailServerSecure = "SMTPMailServerSecure";
            public const string SystemEmail = "SystemEmail";
            public const string SystemEmailAlias = "SystemEmailAlias";
            public const string SystemEmailPasword = "SystemEmailPasword";
            public const string WebsiteTitle = "WebsiteTitle";
            public const string WebsiteLink = "WebsiteLink";
            public const string WebsiteDesc = "WebsiteDesc";
            public const string WebsiteCopy = "WebsiteCopy";
            public const string SendEmailSubject = "SendEmailSubject";
            public const string NewsLetterLink = "NewsLetterLink";
            public const string StatLink = "StatLink";

            #region Nested type: Upload

            public class Upload
            {
                public const string DeleteFromPhysical = "DeleteFromPhysical";
                public const string DocumentDirectory = "DocumentDirectory";
                public const string DocumentTypeAllow = "DocumentTypeAllow";
                public const string FlashTypeAllow = "FlashTypeAllow";
                public const string ImageDirectory = "ImageDirectory";
                public const string ImageTypeAllow = "ImageTypeAllow";
                public const string TempDirectory = "TempDirectory";
                public const string ThumbnailDirectory = "ThumbnailDirectory";
                public const string ThumbnailHeight = "ThumbnailHeight";
                public const string ThumbnailWidth = "ThumbnailWidth";
                public const string UpLoadDirectory = "UpLoadDirectory";
                public const string VideoDirectory = "VideoDirectory";
                public const string VideoTypeAllow = "VideoTypeAllow";
            }

            #endregion
        }

        #endregion

        #region Message

        public class Message
        {
            public const string AddressCantEmpty = "AddressCantEmpty";
            public const string ArchiveFaile = "ArchiveFaile";
            public const string ArchiveSuccess = "ArchiveSuccess";
            public const string CantFindEmail = "CantFindEmail";
            public const string CantSendEmail = "CantSendEmail";
            public const string ChangePasswordSuccess = "ChangePasswordSuccess";
            public const string CityCantEmpty = "CityCantEmpty";
            public const string DateOfBirthCantEmpty = "DateOfBirthCantEmpty";
            public const string DistrictCantEmpty = "DistrictCantEmpty";
            public const string EmailCantEmpty = "EmailCantEmpty";
            public const string EmailExisted = "EmailExisted";
            public const string FromDateCantEmpty = "FromDateCantEmpty";
            public const string FromDateGreaterThanToDate = "FromDateGreaterThanToDate";
            public const string FullnameCantEmpty = "FullnameCantEmpty";
            public const string InvalidText = "InvalidText";
            public const string ItemDoesntExist = "ItemDoesntExist";
            public const string NewPasswordHasBeenSent = "NewPasswordHasBeenSent";
            public const string NoRightToAccess = "NoRightToAccess";
            public const string NoRightToCreate = "NoRightToCreate";
            public const string NoRightToDelete = "NoRightToDelete";
            public const string NoUserInGroup = "NoUserInGroup";
            public const string PasswordAndRetypeError = "PasswordAndRetypeError";
            public const string PasswordCantEmpty = "PasswordCantEmpty";
            public const string PaymentCantEmpty = "PaymentCantEmpty";
            public const string PhoneCantEmpty = "PhoneCantEmpty";
            public const string ProductHasBeenAddToCart = "ProductHasBeenAddToCart";
            public const string SaveSuccess = "SaveSuccess";
            public const string SendSuccess = "SendSuccess";
            public const string SendFail = "SendFail";
            public const string SexCantEmpty = "SexCantEmpty";
            public const string ToDateCantEmpty = "ToDateCantEmpty";
            public const string UploadSuccess = "UploadSuccess";
            public const string UserDoesntLogin = "UserDoesntLogin";
            public const string UserLoginFailed = "UserLoginFailed";
            public const string UserLoginSuccess = "UserLoginSuccess";
            public const string UserLogoutFailed = "UserLogoutFailed";
            public const string UserLogoutSuccess = "UserLogoutSuccess";
            public const string WrongFileSizeAllow = "WrongFileSizeAllow";
            public const string WrongFileTypeAllow = "WrongFileTypeAllow";
            public const string WrongImageSize = "WrongImageSize";
            public const string WrongPassword = "WrongPassword";
            public const string MobileNotAllow = "MobileNotAllow";
        }

        #endregion

        #region FormName

        public class FormName
        {
            public const string Default = "~/Default.aspx";
            public const string Error = "~/Error.aspx";
            public const string Category = "~/Category.aspx";
            public const string Subcategory = "~/Subcategory.aspx";
            public const string NewsDetail = "~/NewsDetail.aspx";
            public const string NewsMore = "~/NewsMore.aspx";
            public const string Email = "~/Email.aspx";
            public const string RSS = "~/RSS.aspx";
            public const string Search = "~/Search.aspx";
            public const string SendNews = "~/SendNews.aspx";
            public const string Introduction = "~/Introduction.aspx";
            public const string Print = "~/Print.aspx";
            public const string PictureSlideShow = "~/PictureSlideShow.aspx";
            public const string EventDetail = "~/EventDetail.aspx";
            public const string EventList = "~/EventList.aspx";
            public const string EventListByCate = "~/EventListByCate.aspx";

            public class Html
            {
                public const string Default = "~/vn/index.html";
                public const string Error = "~/vn/error/index.html";
                public const string ItemDoesntExist = "~/vn/error/itemdoesntexist/index.html";
            }
        }

        #endregion

        #region ViewState

        public class ViewState
        {
            public const string CategoryAlias = "CategoryAlias";
        }

        #endregion

        #region EmailTemplates

        public class EmailTemplates
        {
            public const string SendEmail = @"~\EmailTemplates\TemplateSendEmail.xslt";
        }

        #endregion

        #region Session

        public class Session
        {
            public const string Captcha = "Captcha";
        }

        #endregion
    }
}